package com.ztgf.commodity.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.commodity.models.bo.CommodityParamValueSaveBO;
import com.ztgf.commodity.models.dto.CommodityParamValueDTO;

import java.util.List;

/**
 * 商品参数值表服务
 *
 * @author chenyu.wang
 * @Date 2020-06-15 10:13:11
 */
public interface ICommodityParamValueService extends IService<CommodityParamValueDTO> {

    /**
     * description: 添加
     * param: [saveBO]
     * author: chenyu.wang
     * date: 2020-06-15
     * return: boolean
     */
    boolean add(CommodityParamValueSaveBO saveBO);

    /**
     * description: 根据参数id查询参数值
     * param: [paramId]
     * author: chenyu.wang
     * date: 2020-06-15
     * return: java.util.List<com.ztgf.commodity.models.dto.CommodityParamValueDTO>
     */
    List<CommodityParamValueDTO> queryListByParamId(Long paramId);
}
